﻿<%@ Page Title="" Language="C#" MasterPageFile="~/Supplier/SupplierMasterPage.master"
    AutoEventWireup="true" CodeFile="Timings.aspx.cs" Inherits="Supplier_Location_Timings" %>


<asp:Content ID="Content2" ContentPlaceHolderID="pnlMain" runat="Server">
    <table cellpadding="0" cellspacing="0">
        <tr>
            <th>
                Day
            </th>
            <th>
                Start Time
            </th>
            <th>
                End Time
            </th>
        </tr>
        <tr>
            <td>
                Sunday
            </td>
            <td>
                <asp:TextBox ID="txtSundayStart" Text="08.30" Width="50" runat="server"></asp:TextBox><asp:RequiredFieldValidator
                    ID="rfvSundayStart" Display="Dynamic" runat="server" ControlToValidate="txtSundayStart"
                    ErrorMessage="Start Time is required"></asp:RequiredFieldValidator>
                <asp:RegularExpressionValidator ID="revSundayStart" runat="server" Display="Dynamic"
                    ControlToValidate="txtSundayStart" ErrorMessage="Invalid Time" ValidationExpression="\d{1,3}(?:\.\d{1,2})?$"></asp:RegularExpressionValidator>
            </td>
            <td>
                <asp:TextBox ID="txtSundayEnd" Text="06.30" Width="50" runat="server"></asp:TextBox><asp:RequiredFieldValidator
                    ID="rfvSundayEnd" Display="Dynamic" runat="server" ControlToValidate="txtSundayEnd"
                    ErrorMessage="End Time is required"></asp:RequiredFieldValidator>
                <asp:RegularExpressionValidator ID="RegularExpressionValidator7" runat="server" Display="Dynamic"
                    ControlToValidate="txtSundayEnd" ErrorMessage="Invalid Time" ValidationExpression="\d{1,3}(?:\.\d{1,2})?$"></asp:RegularExpressionValidator>
            </td>
        </tr>
        <tr>
            <td>
                Monday
            </td>
            <td>
                <asp:TextBox ID="txtMondayStart" Text="08.30" Width="50" runat="server"></asp:TextBox><asp:RequiredFieldValidator
                    ID="rfvMondayStart" Display="Dynamic" runat="server" ControlToValidate="txtMondayStart"
                    ErrorMessage="Start Time is required"></asp:RequiredFieldValidator>
                <asp:RegularExpressionValidator ID="revMondayStart" runat="server" Display="Dynamic"
                    ControlToValidate="txtMondayStart" ErrorMessage="Invalid Time" ValidationExpression="\d{1,3}(?:\.\d{1,2})?$"></asp:RegularExpressionValidator>
            </td>
            <td>
                <asp:TextBox ID="txtMondayEnd" Text="06.30" Width="50" runat="server"></asp:TextBox><asp:RequiredFieldValidator
                    ID="rfvMondayEnd" Display="Dynamic" runat="server" ControlToValidate="txtMondayEnd"
                    ErrorMessage="End Time is required"></asp:RequiredFieldValidator>
                <asp:RegularExpressionValidator ID="RegularExpressionValidator2" runat="server" Display="Dynamic"
                    ControlToValidate="txtMondayEnd" ErrorMessage="Invalid Time" ValidationExpression="\d{1,3}(?:\.\d{1,2})?$"></asp:RegularExpressionValidator>
            </td>
        </tr>
        <tr>
            <td>
                Tuesday
            </td>
            <td>
                <asp:TextBox ID="txtTuesdayStart" Text="08.30" Width="50" runat="server"></asp:TextBox><asp:RequiredFieldValidator
                    ID="rfvTuesdayStart" Display="Dynamic" runat="server" ControlToValidate="txtTuesdayStart"
                    ErrorMessage="Start Time is required"></asp:RequiredFieldValidator>
                <asp:RegularExpressionValidator ID="revTuesdayStart" runat="server" Display="Dynamic"
                    ControlToValidate="txtTuesdayStart" ErrorMessage="Invalid Time" ValidationExpression="\d{1,3}(?:\.\d{1,2})?$"></asp:RegularExpressionValidator>
            </td>
            <td>
                <asp:TextBox ID="txtTuesdayEnd" Text="06.30" Width="50" runat="server"></asp:TextBox><asp:RequiredFieldValidator
                    ID="rfvTuesdayEnd" Display="Dynamic" runat="server" ControlToValidate="txtTuesdayEnd"
                    ErrorMessage="End Time is required"></asp:RequiredFieldValidator>
                <asp:RegularExpressionValidator ID="RegularExpressionValidator1" runat="server" Display="Dynamic"
                    ControlToValidate="txtTuesdayEnd" ErrorMessage="Invalid Time" ValidationExpression="\d{1,3}(?:\.\d{1,2})?$"></asp:RegularExpressionValidator>
            </td>
        </tr>
        <tr>
            <td>
                Wednesday
            </td>
            <td>
                <asp:TextBox ID="txtWednesdayStart" Text="08.30" Width="50" runat="server"></asp:TextBox><asp:RequiredFieldValidator
                    ID="rfvWednesdayStart" Display="Dynamic" runat="server" ControlToValidate="txtWednesdayStart"
                    ErrorMessage="Start Time is required"></asp:RequiredFieldValidator>
                <asp:RegularExpressionValidator ID="revWednesdayStart" runat="server" Display="Dynamic"
                    ControlToValidate="txtWednesdayStart" ErrorMessage="Invalid Time" ValidationExpression="\d{1,3}(?:\.\d{1,2})?$"></asp:RegularExpressionValidator>
            </td>
            <td>
                <asp:TextBox ID="txtWednesdayEnd" Text="06.30" Width="50" runat="server"></asp:TextBox><asp:RequiredFieldValidator
                    ID="rfvWednesdayEnd" Display="Dynamic" runat="server" ControlToValidate="txtWednesdayEnd"
                    ErrorMessage="End Time is required"></asp:RequiredFieldValidator>
                <asp:RegularExpressionValidator ID="RegularExpressionValidator3" runat="server" Display="Dynamic"
                    ControlToValidate="txtWednesdayEnd" ErrorMessage="Invalid Time" ValidationExpression="\d{1,3}(?:\.\d{1,2})?$"></asp:RegularExpressionValidator>
            </td>
        </tr>
        <tr>
            <td>
                Thursday
            </td>
            <td>
                <asp:TextBox ID="txtThursdayStart" Text="08.30" Width="50" runat="server"></asp:TextBox><asp:RequiredFieldValidator
                    ID="rfvThursdayStart" Display="Dynamic" runat="server" ControlToValidate="txtThursdayStart"
                    ErrorMessage="Start Time is required"></asp:RequiredFieldValidator>
                <asp:RegularExpressionValidator ID="revThursdayStart" runat="server" Display="Dynamic"
                    ControlToValidate="txtThursdayStart" ErrorMessage="Invalid Time" ValidationExpression="\d{1,3}(?:\.\d{1,2})?$"></asp:RegularExpressionValidator>
            </td>
            <td>
                <asp:TextBox ID="txtThursdayEnd" Text="06.30" Width="50" runat="server"></asp:TextBox><asp:RequiredFieldValidator
                    ID="rfvThursdayEnd" Display="Dynamic" runat="server" ControlToValidate="txtThursdayEnd"
                    ErrorMessage="End Time is required"></asp:RequiredFieldValidator>
                <asp:RegularExpressionValidator ID="RegularExpressionValidator4" runat="server" Display="Dynamic"
                    ControlToValidate="txtThursdayEnd" ErrorMessage="Invalid Time" ValidationExpression="\d{1,3}(?:\.\d{1,2})?$"></asp:RegularExpressionValidator>
            </td>
        </tr>
        <tr>
            <td>
                Friday
            </td>
            <td>
                <asp:TextBox ID="txtFridayStart" Text="08.30" Width="50" runat="server"></asp:TextBox><asp:RequiredFieldValidator
                    ID="rfvFridayStart" Display="Dynamic" runat="server" ControlToValidate="txtFridayStart"
                    ErrorMessage="Start Time is required"></asp:RequiredFieldValidator>
                <asp:RegularExpressionValidator ID="revFridayStart" runat="server" Display="Dynamic"
                    ControlToValidate="txtFridayStart" ErrorMessage="Invalid Time" ValidationExpression="\d{1,3}(?:\.\d{1,2})?$"></asp:RegularExpressionValidator>
            </td>
            <td>
                <asp:TextBox ID="txtFridayEnd" Text="06.30" Width="50" runat="server"></asp:TextBox><asp:RequiredFieldValidator
                    ID="rfvFridayEnd" Display="Dynamic" runat="server" ControlToValidate="txtFridayEnd"
                    ErrorMessage="End Time is required"></asp:RequiredFieldValidator>
                <asp:RegularExpressionValidator ID="RegularExpressionValidator5" runat="server" Display="Dynamic"
                    ControlToValidate="txtFridayEnd" ErrorMessage="Invalid Time" ValidationExpression="\d{1,3}(?:\.\d{1,2})?$"></asp:RegularExpressionValidator>
            </td>
        </tr>
        <tr>
            <td>
                Saturday
            </td>
            <td>
                <asp:TextBox ID="txtSaturdayStart" Text="08.30" Width="50" runat="server"></asp:TextBox><asp:RequiredFieldValidator
                    ID="rfvSaturdayStart" Display="Dynamic" runat="server" ControlToValidate="txtSaturdayStart"
                    ErrorMessage="Start Time is required"></asp:RequiredFieldValidator>
                <asp:RegularExpressionValidator ID="revSaturdayStart" runat="server" Display="Dynamic"
                    ControlToValidate="txtSaturdayStart" ErrorMessage="Invalid Time" ValidationExpression="\d{1,3}(?:\.\d{1,2})?$"></asp:RegularExpressionValidator>
            </td>
            <td>
                <asp:TextBox ID="txtSaturdayEnd" Text="06.30" Width="50" runat="server"></asp:TextBox><asp:RequiredFieldValidator
                    ID="rfvSaturdayEnd" Display="Dynamic" runat="server" ControlToValidate="txtSaturdayEnd"
                    ErrorMessage="End Time is required"></asp:RequiredFieldValidator>
                <asp:RegularExpressionValidator ID="RegularExpressionValidator6" runat="server" Display="Dynamic"
                    ControlToValidate="txtSaturdayEnd" ErrorMessage="Invalid Time" ValidationExpression="\d{1,3}(?:\.\d{1,2})?$"></asp:RegularExpressionValidator>
            </td>
        </tr>
        <tr>
            <td colspan="2">
                &nbsp;
            </td>
        </tr>
        <tr>
            <td colspan="2">
                <asp:Button ID="btnSave" runat="server" Text="Save" OnClick="btnSave_Click" />&nbsp;&nbsp;<asp:Button
                    ID="btnCancel" runat="server" CausesValidation="false" Text="Cancel" OnClick="btnCancel_Click" />
            </td>
        </tr>
    </table>
</asp:Content>
